<!doctype html>
<html lang="zh">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <title>我是经纪人</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <meta name="wap-font-scale" content="no">
    <link rel="stylesheet" href="{:RES}/jinrong/Mobile/Public/css/invite_new.css">
    <script src="{:RES}/jinrong/Mobile/Public/js/jquery-1.11.3.min.js"></script>
    <script>
        window.onload = function()
        {
            var width = window.outerWidth;
            var height = width*1646/900;
            $("#img").css("width",width);
            $("#img").css("height",height);

            var btn_width = 402*width/900;
            var btn_height = 127*height/1646;
//            $("#invi_btn").css({"width":btn_width*0.98,"height":btn_height*0.98});
            $("#invi_btn").css("width",btn_width*0.98);
            $("#invi_btn").css("height",btn_height*0.98);
        }


        //分享弹层
        function shardiv(){
            $(".mask").html('<img src="{$imgurl}" width=200 alt="" class="an2"/><p>长按图片保存，发送给好友注册吧！</p>');
            $(".mask").show();//.css({opacity: 0.8});
        }
        function hidd(){
            $(".mask").hide();
        }

        var page_controller;
        $(function(){
            document.addEventListener('touchmove',function(e){
                e.preventDefault();
                //e.returnValue = true;
            },false);
            page_controller = new IScroll('.controller',{
                mouseWheel: true,
                bounce:false,
                click:true
            });
        });
    </script>
</head>
<body style="margin:0"  onselectstart="return false;" oncontextmenu="self.event.returnValue=false;">
<div class=".controller">
    <div class="back" id="img">
        <button type="button" id="invi_btn" class="invite_btn pre" onclick="shardiv();"></button>
    </div>

    <!--分享微信弹出层-->
    <div class="mask text-center" id="mas" onclick="hidd();">
    </div>
</div>
</body>
</html>